#@layout()
#define main()
#define css()
<link rel="stylesheet" type="text/css" href="/static/css/hi-user.css">
#end
<!-- 内容区域 -->
<div class="aw-container-wrap">
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap-new clearfix">
                <div class="col-sm-12 col-md-12 ">
                    <!-- 用户数据内容 -->
                    <div class="aw-mod aw-user-detail-box h-content">
                        <div class="h-user-bag">
                        <div class="mod-head">
                            <img src="/upload/avatar/#(user.avatar)" alt="#(user.nickName)" style="width: 8%;"/>
                            <span class="pull-right operate">
							  <a class="h-user-txt-sign" onclick='sendUserMessage(#(user.uid))'><i
                                      class="icon icon-inbox"></i>私信</a>
							 #if(friendRelation == 0)
							  <a href='javascript:void(0);' onclick='handleFriend(this, true, #(user.uid));'
                                 class='follow btn btn-normal btn-success' data-original-title='' title='关注他'>
							    <span>关注</span><em>|</em>
							  </a>
							  #else if(friendRelation == 1)
							  <a href="javascript:void(0);" onclick="handleFriend(this, false, #(user.uid));"
                                 class="follow btn btn-normal btn-success active" data-original-title="" title="取消关注">
  								<span>已经关注</span><em>|</em>
							  </a>
							  #else if(friendRelation == 2)
							  <a href="javascript:void(0);" onclick="handleFriend(this, true, #(user.uid));"
                                 class="follow btn btn-normal btn-success" data-original-title="" title="添加关注">
  								<span>您的粉丝</span><em>|</em>
							  </a>
							  #else
							  <a href="javascript:void(0);" onclick="handleFriend(this, false, #(user.uid));"
                                 class="follow btn btn-normal btn-success active" data-original-title="" title="相互关注">
  								<span>相关关注</span><em>|</em>
							  </a>
							  #end
							</span>
                            <h1 style="color: #fff;font-weight: bold;">#(user.nickName)
                                #if(user.is_vip==1)<span class="h-hvip">svip</span>#end
                                #if(user.is_auth==1)<i class="icon-v " title="个人认证"></i>#end
                            </h1>
                            <p class="h-user-txt-sign">#(user.sign)</p>
                        </div>
                        <div class="mod-body">
                            <div class="meta">
                                <span>
                                    <i class="icon icon-prestige"></i> 威望 :
                                    <em class="aw-text-color-green">#(user.prestige)</em>
                                </span>
                                <span>
                                    <i class="icon icon-score"></i> 积分 :
                                    <em class="aw-text-color-orange">#(user.points)</em>
                                </span>
                                <span>
                                    <i class="icon icon-agree"></i> 热度 :
                                    <em class="aw-text-color-orange">#(user.views)
                                    </em>
                                </span>
                            </div>
                        </div>
                        </div>
                        <div class="mod-footer">
                            <ul class="nav nav-tabs aw-nav-tabs">
                                <li class="active">
                                    <a href="#article" data-toggle="tab">文章</a>
                                </li>
                                <li>
                                    <a href="#reply" data-toggle="tab">回复</a>
                                </li>
                                <li>
                                    <a href="#attention" data-toggle="tab">关注</a>
                                </li>
                                <li>
                                    <a href="#fensis" data-toggle="tab">粉丝</a>
                                </li>
                                <li>
                                    <a href="#detail" data-toggle="tab">详情信息</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!-- end 用户数据内容 -->
                </div>
                <div class="col-sm-12 col-md-12  h-user-tag"></div>
                <div class="col-sm-12 col-md-12 ">
                    <div class="aw-user-center-tab">
                        <div class="tab-content">
                            <div class="tab-pane active" id="article">
                                <!-- 文章 -->
                                <div class="aw-mod">
                                    <div class="mod-body">
                                        <div class="aw-profile-answer-list">
                                            #for(userArticle : userArticleList.getList())
                                            <div class="aw-item h-user-article">
                                                <div class="mod-head h-user-article-title">
                                                    <h4><a href="/detail/#(userArticle.aid)">#(userArticle.title)</a>
                                                    </h4>
                                                </div>
                                                <div class="mod-body h-user-article-txt">
                                                    <p class="text-color-999">#(userArticle.replyCount) 个评论 •
                                                        #(userArticle.favoriteCount) 个收藏 • #(userArticle.views) 次浏览 •
                                                        #date(userArticle.addtime, "yyyy-MM-dd")</p>
                                                </div>
                                            </div>
                                            #end
                                        </div>
                                    </div>
                                    <div class="mod-body">
                                        <!-- 分页 -->
                                        <div class="page-control">
                                            #@paginate(userArticleList.pageNumber, userArticleList.totalPage,
                                            "/user/detail/" + user.uid + "?p=")
                                        </div>
                                    </div>
                                </div>
                                <!-- end 文章 -->
                            </div>
                            <!-- 回复 -->
                            <div class="tab-pane" id="reply">
                                <div class="aw-mod">
                                    <div class="mod-body">
                                        <div class="aw-profile-publish-list" id="contents_user_actions_questions">
                                            #for(userReply : userReplyList)
                                            <div class="aw-item h-user-article">
                                                <div class="aw-mod">
                                                    <div class="mod-head h-user-article-title">
                                                        <h4 class="aw-hide-txt">
                                                            文章标题：<a href="/detail/#(userReply.aid)">#(userReply.title)</a>
                                                        </h4>
                                                    </div>
                                                    <div class="mod-body h-user-article-txt">
                                                        <p class="text-color-999">回复内容：#(userReply.content)</p>
                                                        <p class="text-color-999">回复时间：#date(userReply.addtime,
                                                            "yyyy-MM-dd")</p>
                                                    </div>
                                                </div>
                                            </div>
                                            #end
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- end 回复 -->

                            <!-- 关注 -->
                            <div class="tab-pane" id="attention">
                                <!-- 自定义切换 -->
                                <div class="aw-mod h-user-comment">
                                    <div class="mod-body">
                                        <div class="aw-tab-content">
                                            <div class="aw-mod aw-user-center-follow-mod">
                                                <div class="mod-body">
                                                    <ul id="contents_user_follows" class="clearfix">
                                                        #for(friendList : userAttentionList)
                                                        <li>
                                                            <div class="mod-head ">
                                                                <a class="aw-user-img pull-left aw-border-radius-5"
                                                                   data-id="#(friendList.uid)"
                                                                   href="/user/detail/#(friendList.uid)">
                                                                    <img src="/upload/avatar/#(friendList.avatar)"
                                                                         alt="#(friendList.nickName)"
                                                                         style="width:50px;">
                                                                </a>
                                                                <p>
                                                                    <a href="/user/detail/#(friendList.uid)">#(friendList.nickName)</a>
                                                                </p>
                                                            </div>
                                                            <div class="mod-footer meta">
                                                                <span><i class="icon icon-prestige"></i>威望<em class="aw-text-color-green">#(friendList.prestige)</em></span>
                                                                <span><i class="icon icon-score"></i>积分<em class="aw-text-color-orange">#(friendList.points)</em></span>
                                                            </div>
                                                        </li>
                                                        #end
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!-- end 自定义切换 -->
                            </div>
                            <!-- end关注 -->
                            <!-- 粉丝 -->
                            <div class="tab-pane" id="fensis">
                                <!-- 自定义切换 -->
                                <div class="aw-mod h-user-comment">
                                    <div class="mod-body">
                                        <div class="aw-tab-content">
                                            <div class="aw-mod aw-user-center-follow-mod">
                                                <div class="mod-body">
                                                    <ul id="contents_user_follows_s" class="clearfix">
                                                        #for(fanList : userFanList)
                                                        <li>
                                                            <div class="mod-head">
                                                                <a class="aw-user-img pull-left aw-border-radius-5"
                                                                   data-id="#(fanList.uid)"
                                                                   href="/user/detail/#(fanList.uid)">
                                                                    <img src="/upload/avatar/#(fanList.avatar)"
                                                                         alt="#(fanList.nickName)" style="width:50px;">
                                                                </a>
                                                                <p>
                                                                    <a href="/user/detail/#(fanList.uid)">#(fanList.nickName)</a>
                                                                </p>
                                                            </div>
                                                            <div class="mod-footer meta">
							                                    <span><i class="icon icon-prestige"></i>威望<em class="aw-text-color-green">#(fanList.prestige)</em></span>
                                                                <span><i class="icon icon-score"></i>积分<em class="aw-text-color-orange">#(fanList.points)</em></span>
                                                            </div>
                                                        </li>
                                                        #end
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!-- end 自定义切换 -->
                            </div>

                            <!-- end粉丝 -->

                            <!-- 详细资料 -->
                            <div class="tab-pane" id="detail">
                                <div class="aw-mod h-user-comment">
                                    <div class="mod-body aw-user-center-details">
                                        <dl>
                                            <dt>
                                                <span>个人成就:</span>
                                            </dt>
                                            <dd>
                                                <p class="meta">
                                                    <span>
                                                        <i class="icon icon-prestige"></i>威望:
                                                        <em class="aw-text-color-green">#(user.prestige)</em>
                                                    </span>
                                                    <span>
                                                        <i class="icon icon-score"></i>积分:
                                                        <em class="aw-text-color-orange">#(user.points)</em>
                                                    </span>
                                                    <span>
                                                        <i class="icon icon-agree"></i> 热度:
                                                        <em class="aw-text-color-orange">#(user.views)</em>
                                                    </span>
                                                </p>
                                            </dd>
                                        </dl>
                                        <dl>
                                            <dt><span>注册时间:</span></dt>
                                            <dd>#date(user.createAt, "yyyy-MM-dd")</dd>
                                        </dl>
                                        #if(user.is_auth==1)
                                        <dl>
                                            <dt><span>认证信息:</span></dt>
                                            <dd>#(user.authName)</dd>
                                        </dl>
                                        <dl>
                                            <dt><span>认证时间:</span></dt>
                                            <dd>#date(user.authTime, "yyyy-MM-dd")</dd>
                                        </dl>
                                        #else
                                        <dl>
                                            <dt><span>未认证</span></dt>
                                        </dl>
                                        #end
                                    </div>
                                </div>
                            </div>
                            <!-- end 详细资料 -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 内容区域end -->
#end
#define js()
<script type="text/javascript" src="/static/lib/bootstrap/js/bootstrap.min.js"></script>
#end